import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;


public class SummaryButton extends JButton implements ActionListener{
	private GuiClient gui;
	public SummaryButton(GuiClient g) {
		super();
		this.gui = g;
		setText("summary");
		
		addActionListener(this);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		gui.printSummary();		
	}
}
